package com.live.dengdengtv.activity.my;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import com.live.dengdengtv.CustomTitleActivity;
import com.live.dengdengtv.R;
import com.live.dengdengtv.utils.AppDialog;

/**
 * Created by wyf on 2016/8/18.
 */
public class AuthActivity extends CustomTitleActivity implements View.OnClickListener{

    @Override

    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        setContentView(R.layout.activity_apply_auth,R.layout.title_custom_red);
        setDefaultTitle("申请认证");
    }

    @Override
    public void onClick(View v) {
        Intent intent = new Intent();
        if(v.getId() == R.id.sub_info_btn){
            intent.setClass(this, SubInfoActivity.class);
            startActivity(intent);
        }else if(v.getId() == R.id.sub_weibo_btn){
            AppDialog.showAlertDialog(this,"提交新浪微博认证\n请使用微博账号登陆");
        }

    }
}
